<?php
declare (strict_types = 1);

namespace app\admin\model;

use think\Model;

/**
 * @mixin think\Model
 */
class Order extends Model
{
    public function orderDetailed()
    {
        return $this->hasMany('order_detailed');
    }
    public function userIndex()
    {
        return $this->belongsTo('user_index');
    }
    public function address()
    {
        return $this->belongsTo('address');
    }
    public function log()
    {
        return $this->hasMany('order_jq_log');
    }
}
